Image Detection by Unknown

Image Detection by Unknown

Author:Unknown
Language: eng
Format: epub
Published: 2018-07-16T16:00:00+00:00


@IBAction func plusButtonTapped(_ sender: UIButton) { let scalePlus = SCNAction.scale(by: 2, duration: 2) iPhoneXNode.runAction(scalePlus) }

@IBAction func minusButtonTapped(_ sender: UIButton) { let scaleMinus = SCNAction.scale(by: 0.5, duration: 2) iPhoneXNode.runAction(scaleMinus) }

Switch the Material

For the last button, we are going to change the diffuse material of our 3D model. In our case, it means that we are changing the screen of the iPhone. Call the node and access its diffuse material. Then, go to your art.scnassets and find a different screen. For us, it is AR-Screen.png.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.